<?php
 /*
  * @author Luong Trong Hieu
  *
 */
?>
<div id="heading">
<?php
echo $this->title;
?>
    <br />
</div>

<?php
foreach ($this->data as $user){
?>
<a href="<?php echo $this->url(array('controller'=>'account',
       'action'=>'info', 'id'=>$user['id']));?>">
    <?php echo $user['username']; ?></a>
<?php
/*
<a href="<?php echo $this->url(array('controller'=>'account',
      'action'=>'edit', 'id'=>$user['id']));?>">Edit</a> |
<a href="<?php echo $this->url(array('controller'=>'account',
        'action'=> 'delete', 'id' =>$user['id'])); ?>">Delete</a>
 *
 */
?>

<?php
echo "<br />";
//end foreach
}
?>
<hr>
<div id ="link">
<a href="<?php echo $this->url(array('controller'=>'account',
      'action'=>'add'));?>">Register</a>

<br />
</div>
